using Microsoft.Phone.Data.Linq.Mapping;
using System;
using System.Data.Linq;
using System.Data.Linq.Mapping;
namespace MicroMsg.Storage
{
	[Index(Columns = "nMsgSvrID", IsUnique = false, Name = "nMsgSvrIDIndex"), Index(Columns = "strTalker", IsUnique = false, Name = "strTalker"), Table]
	public class BChatMsg : StorageItem
	{
		[Column(IsPrimaryKey = true)]
		public int nMsgLocalID;
		[Column]
		public int nMsgSvrID;
		[Column]
		public int nMsgType;
		[Column]
		public int nStatus;
		[Column]
		public int nIsSender;
		[Column]
		public long nCreateTime;
		[Column]
		public string strTalker;
		[Column]
		public string strContent;
		[Column]
		public string strClientMsgId;
		[Column]
		public byte[] bytesXmlData;
		[Column(DbType = "Image")]
		public byte[] bytesContent;
		[Column(IsVersion = true)]
		private Binary _version;
	}
}
